@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/shuheng/job/excelImport.js?v=2"]}){
<style type="text/css">
    .layui-form-select dl { max-width:200px; }
    #excelImport .layui-upload-choose{
        margin-top: 8px;
    }
</style>
<form id="importForm" lay-filter="importForm" class="layui-form model-form" style="max-width: 700px;" method="post">
    <div class="layui-row">
        <div class="layui-col-xs12">
            <div class="layui-form-item">
                <label class="layui-form-label">年度<span style="color: red;">*</span></label>
                <div class="layui-input-block" style="width: 200px;">
                    <select name="year" id="year" lay-filter="year">
                        @for(item in list){
                        <option value="${item}">${item}年</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block" style="margin-left: 15px;">
                    <input id="excelPath" name="excelPath"  type="hidden" class="layui-input" lay-verify="required"/>
                    <label id="excelImport" style="border: 1px solid #e6e6e6;height: 34px;display: block;" for="selectFile">
                        <button class="layui-btn layui-btn-warm layui-btn-sm" id="selectFile" type="button"
                                style="float: left;margin-top: 2px;border-radius: 0px;margin-left: 2px;" >选择</button>
                    </label>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item" style="text-align: center;">
        <button class="layui-btn" type="button" id="importHidden"  style="display:none;"></button>
        <button type="button" class="layui-btn" id="import">导入</button>
        <button class="layui-btn layui-btn-danger" type="button" ew-event="closeDialog" id="backupPage">取消</button>
        <button class="layui-btn layui-btn-normal" id="btnDownLoad" type="button">下载模板</button>
    </div>
    <fieldset class="layui-elem-field" style="margin-left: 15px;color: #FF8C00;">
        <legend>提示</legend>
        <div class="layui-field-box">
            <ul style="list-style: none;">
                <li>1.请先下载模板，根据模板导入，模板中标题为红色的列为必填项。</li>
                <li>2.请先选择年份再导入。</li>
                <li>3.限制格式和月份为下拉框，请下拉选择，不要输入。</li>
            </ul>
        </div>
    </fieldset>
    <br/>
</form>


@}